#ifndef SHADER_H
#define SHADER_H

#include <string>
#include <vector>
#include <fstream>
#include <iostream>
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <GL/gl.h>

class Shader {
private:
	unsigned int vs, fs, program;
	void loadFile(const char* fn, std::string& str);
	unsigned int loadShader(const char * shader_file, GLenum shaderType);
public:
	Shader(const char* vertex_shader, const char* fragment_shader);
	~Shader();
	void use_shader();
	void remove_shader();
	unsigned int get_program();
};

#endif
